# CMakeLists
# Author(s): xuming.Wong <xuming.Wong@gmail.com>

#-----------------------------------------------------------------------------
# Third party dependency CEGUI Ogre Renderer
# Setup the CEGUI Ogre Renderer lib sources


file(GLOB SRC *.cpp)

set(INC .
	#include base
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base
	#orig loc
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base/RendererModules/Ogre
	
	${LIBDIR}/CeguiDependencies/include
	${OGRE_INCLUDE_PATH}
)

#add win32 preprocessors
if(WIN32)
#add this processor for have CEGUI include config.h
add_definitions(-DHAVE_CONFIG_H)
endif()

BUILD_LIB(CEGUIOgreRenderer "${SRC}" "${INC}")

